package cn.cvs.service;

import cn.cvs.dao.FriutMapper;
import cn.cvs.pojo.Fruit;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class FruitServiceImpl implements FruitService{
   @Autowired
    private FriutMapper friutMapper;

    @Override
    public List<Fruit> list() {
        return friutMapper.list();
    }
}
